<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PublisherInviteCode extends Model
{
    /**
     * 邀请码是否已被使用
     *
     * @return bool
     */
    public function isUsed()
    {
        return $this->invitee_uid > 0;
    }
}
